home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / ms_sh21s.zip / SH210 / CHANGES next >
Text File  |  1992-12-14  |  3KB  |  88 lines

  1. Shell Version 2.1    CHANGES                December 1992
  2.  
  3.  MS-DOS SHELL - Copyright (c) 1990,1,2 Data Logic Limited and Charles Forsyth
  4.  
  5.  This code is based on (in part) the shell program written by Charles
  6.  Forsyth and is subject to the following copyright restrictions:
  7.  
  8.  1.  Redistribution and use in source and binary forms are permitted
  9.      provided that the above copyright notice is duplicated in the
  10.      source form and the copyright notice in file sh6.c is displayed
  11.      on entry to the program.
  12.  
  13.  2.  The sources (or parts thereof) or objects generated from the
  14.      sources (or parts of sources) cannot be sold under any circumstances.
  15.  
  16.     $Header: /usr/users/istewart/src/shell/sh2.1/Release/RCS/Changes,v 2.1 1992/12/14 11:13:55 istewart Exp $
  17.  
  18.     $Log: Changes,v $
  19.     Revision 2.1  1992/12/14  11:13:55  istewart
  20.     BETA 215 Fixes and 2.1 Release
  21.  
  22.     Revision 2.0  1992/04/13  17:40:33  Ian_Stewartson
  23.     MS-Shell 2.0 Baseline release
  24.  
  25.     
  26. ________________________________________________________________________________
  27.  
  28. We have standardised our MSDOS and Unix include files such that the same
  29. include file exists our Unix system and MSDOS systems.  This makes porting
  30. a lot easier.  If you don't want to edit the standard include files, you will
  31. have to generate an new include file for the shell and include it as the first
  32. include in all the C sources for the additional library functions and the
  33. Shell itself.
  34.  
  35. These are the changes to the Microsoft C 5.1 and 6.0 include files.
  36.  
  37. The files changed are:
  38.  
  39.     limits.h - add missing definitions
  40.     sys/stat.h - add missing definitions
  41.     sys/types.h - add missing definitions
  42.  
  43. 1.    limits.h
  44.  
  45. #ifdef OS2
  46. #define NAME_MAX    63        /* Maximum file name length    */
  47. #define PATH_MAX    256        /* Maximum path name length    */
  48. #else
  49. #define NAME_MAX    13        /* Maximum file name length    */
  50. #define PATH_MAX    128        /* Maximum path name length    */
  51. #endif
  52.  
  53. 2.    sys/stat.h
  54.  
  55. #define S_ISDIR(m)    ((((m) & S_IFMT) == S_IFDIR))
  56. #define S_ISCHR(m)    ((((m) & S_IFMT) == S_IFCHR))
  57. #define S_ISREG(m)    ((((m) & S_IFMT) == S_IFREG))
  58. #define S_ISBLK(m)    ((((m) & S_IFMT) == S_IFBLK))
  59.  
  60. extern mode_t _FAR_ _cdecl    umask (mode_t);
  61.  
  62. 3.    sys/types.h
  63.  
  64. /*
  65.  * Additional typedefs
  66.  */
  67.  
  68. typedef unsigned char    bool;    /* Boolean: 0 = false, 1 = true        */
  69. typedef unsigned short    ushort;    /* 2-byte unsigned            */
  70. typedef ushort        u_short;
  71. typedef ushort        mode_t;
  72. typedef short        nlink_t;
  73. typedef int        pid_t;
  74. typedef ushort        uid_t;
  75. typedef ushort        gid_t;
  76. typedef short        nlink_t;
  77.  
  78. /*
  79.  * System Constants
  80.  */
  81.  
  82. #ifndef FALSE
  83. #define FALSE    ((bool)0)    /* Boolean 'false'            */
  84. #endif
  85. #ifndef TRUE
  86. #define TRUE    ((bool)1)    /* Boolean 'true'            */
  87. #endif
  88.